package DBLayer;

import java.util.ArrayList;

import ModelLayer.SalesOrder;

public interface IFDBSalesOrder {
	//get all SalesOrders
    public ArrayList<SalesOrder> getAllSalesOrder();
    //find a SalesOrder using the id.
    public SalesOrder searchSalesOrder(int salesOrderId);
    //insert new SalesOrder
    public int insertSalesOrder(SalesOrder salesOrder) throws Exception;
    //update SalesOrder
    public int updateSalesOrder(SalesOrder salesOrder);
    //delete SalesOrder
    public int deleteSalesOrder(SalesOrder salesOrder);
}
